<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import = "com.logistics.entity.DispatchesEle_wqm" %>
<%@ page import = "com.logistics.database.Simpledatabase" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'PurchaseSJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<script type="text/javascript" src="scripts/jquery/jquery-1.7.1.js"></script>
	<link href="style/authority/basic_layout.css" rel="stylesheet" type="text/css">
	<link href="style/authority/common_style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="scripts/authority/commonAll.js"></script>
	<script type="text/javascript" src="scripts/fancybox/jquery.fancybox-1.3.4.js"></script>
	<script type="text/javascript" src="scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="style/authority/jquery.fancybox-1.3.4.css" media="screen"></link>
	<script type="text/javascript" src="scripts/artDialog/artDialog.js?skin=default"></script>
	<script type="text/javascript" src="scripts/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="scripts/Myscripts/alpha_add.js"></script>
	<%@ page import = "com.logistics.entity.InOutStoreRoom" %>
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->


  </head>
  
  <body>
  <div id="container">	
		<div class="ui_content">
			<div class="ui_text_indent">
				<div id="box_border">
					<div id="box_top">
						<font size=5><c:out value="${'分发表' }"></c:out></font>
					</div>
				</div>
			</div>
		</div>	
	</div>
  <center>
  
  	<br>
  	<br>
		  <table width="90%" class="table">
		  	<tr><th align="center"><c:out value="${'仓库名称'}"></c:out></th>
		  	<th align="center"><c:out value="${'操作员'}"></c:out></th>
		  	<th align="center"><c:out value="${'商品编号'}"></c:out></th>
		  	<th align="center"><c:out value="${'商品名称'}"></c:out></th>
		  	<th align="center"><c:out value="${'计量单位'}"></c:out></th>
		  	<th align="center"><c:out value="${'商品售价'}"></c:out></th>
		  	<th align="center"><c:out value="${'商品数量'}"></c:out></th>
		  	<th align="center"><c:out value="${'厂商'}"></c:out></th>
		  	<th align="center"><c:out value="${'备注 '}"></c:out></th>
		  	<th align="center"><c:out value="${'分发员'}"></c:out></th>
		  	<th align="center"><c:out value="${'签收人'}"></c:out></th>
		  	<th align="center"><c:out value="${'日期'}"></c:out></th>
		  	<th align="center"><c:out value="${'商品总数 '}"></c:out></th>
		  	<th align="center"><c:out value="${'商品总价'}"></c:out></th>
		  	<c:forEach items="${dispa}" var="mt">
		  		<tr><td>${mt.storeroom_name }</td>
		  		<td>${'小李' }</td>
			  	<td>${mt.product_id==null?"&nbsp":mt.product_id }</td>
			  	<td>${mt.product_name==null?"&nbsp":mt.product_name }</td>
			  	<td>${mt.unit==null?"&nbsp":mt.unit }</td>
			  	<td>${mt.price==null?"&nbsp":mt.price }</td>
			  	<td>${mt.dispatch_number==null?"&nbsp":mt.dispatch_number }</td>
			  	<td>${mt.producer==null?"&nbsp":mt.producer }</td>
			  	<td>${mt.tips==null?"&nbsp":mt.tips }</td>
			  	<td>${'小智' }</td>
			  	<td>${'小张' }</td>
			  	<td>${mt.deadline==null?"&nbsp":mt.deadline }</td>
			  	<td>${mt.dispatch_number==null?"&nbsp":mt.dispatch_number }</td>
			  	<td>${mt.total_price==null?"&nbsp":mt.total_price }</td>
			  	</tr>
		  	</c:forEach>
		  	</tr>
		  </table>
		  <br>
		  <div id="box_bottom">
		  <input type="button" value="确定" class="ui_input_btn02" onclick="javascript:location.href='../Logistics/inoutstore/PurchaseStorage.jsp'" >
		   &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
		   </div>
		  </center>
  </body>
</html>
